package com.yjc.springcloud.controller;

import com.netflix.discovery.converters.Auto;
import com.yjc.springcloud.service.Impl.IMessageProviderImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author shkstart
 * @create 2022-08-07 23:41
 */
@RestController
public class SendMessageController {

    @Autowired
    IMessageProviderImpl iMessageProvider;

    @GetMapping("/send/message")
    public String sendMsg() {
        return iMessageProvider.sendMsg();
    }
}
